and Hans.
Hans, I’m afraid that your patch fixes Wolfgang’s sample, but not mine.
Many thanks for your help,
New minimal example:
\setuppapersize[A6]
\starttext
\dorecurse{10}{not original }
\blank
\dorecurse{10}{\startline[test:1:#1]not original\stopline[test:1:#1] }
\blank
\dorecurse
On 18/07/13 21:31, Wolfgang Schuster wrote:
[...]
New minimal example:
[...]
\dorecurse{10}{\startline[test:2:#1]not
original\prewordbreak\stopline[test:2:#1] }
Many thanks for your reply, Wolfgang.
Now I understand what was required here and what \prewordbreak does
(modifying strc
\chapter[knuthchap]{Knuth}
\startlinenumbering
\startline[knuth]\input knuth\stopline[knuth]
\stoplinenumbering
\page
Some problem here.\pagereference[knuthpage]
\stopcomponent
appendix.tex looks like this:
\startcomponent appendix
\product product
\chapter[knuthchap]{Knuth}
\startlinenumbering
\startline[knuth]\input knuth\stopline[knuth]
\stoplinenumbering
\page
Some problem here.\pagereference[knuthpage]
\stopcomponent
\else
\doglobal\newcounter\ApparatusCounter
\fi
\pagereference[apparatus:startpage:\ApparatusCounter]%
\startline[apparatus:line:\ApparatusCounter]{#1}\stopline[apparatus:line:\ApparatusCounter]%
\pagereference[apparatus:stoppage:\ApparatusCounter]
\expanded
\entrycounter \entrycounter=0
\setuplabeltext[en][lines=,line=]
\def\enseparator{\crlf}
\long\def\appEntry#1#2{
\expandafter\startline[line:\the\entrycounter]%
\expandafter\pagereference[page:\the\entrycounter]%
{#1}
\expandafter\stopline[line:\the\entrycounter
later in your document.
\define[2]\Apparatus
{\ifdefined\ApparatusCounter
\doglobal\increment\ApparatusCounter
\else
\doglobal\newcounter\ApparatusCounter
\fi
\pagereference[apparatus:page:\ApparatusCounter]%
\startline[apparatus:line:\ApparatusCounter]{#1}\stopline
in
the label names would be inserted by a counter:
\starttext
\startlinenumbering
This is a sample %
% wrapper macro would start here
\startline[line:1]\pagereference[page:1]lemma\stopline[line:1]
\footnote{\at[page:1] \inline[line:1] some comment}%
% and end here
. \crlf
,
style=\tfxx,
align=left,
distance=1.5cm,
width=0.3cm]
\setupfootnotes[
location=text,
numberconversion=empty,
paragraph=yes,
]
\definenumber[entrycounter]
\setnumber[entrycounter]{0}
\def\appentry#1#2{%
\startline[line:\getnumber
\appentry#1#2{%
\startline[line:\getnumber[entrycounter]]%
\pagereference[page:\getnumber[entrycounter]]%
#1%
\stopline[line:\getnumber[entrycounter]]%
\footnote{{\bf \at[page:\getnumber[entrycounter]]}%
\inline[line:\getnumber[entrycounter]] #1] #2
=empty,
paragraph=,
]
\newcount\entrycounter
\entrycounter=0
\def\appentry#1#2{%
\startline[line:\the\entrycounter]%
\pagereference[page:\the\entrycounter]%
#1%
\stopline[line:\the\entrycounter]%
\footnote{{\bf \at[page:\the\entrycounter]}
\inline[line
On Jan 3, 2011, at 7:09 PM, Daniel Schopper wrote:
\setupfootnotes[
location=text,
numberconversion=empty,
paragraph=,
]
\newcount\entrycounter
\entrycounter=0
\def\appentry#1#2{%
\startline[line:\the\entrycounter]%
\pagereference[page
[
location=text,
numberconversion=empty,
paragraph=,
]
\newcount\entrycounter
\entrycounter=0
\def\appentry#1#2{%
\startline[line:\the\entrycounter]%
\pagereference[page:\the\entrycounter]%
#1%
\stopline[line:\the\entrycounter]%
\footnote{{\bf
] and also lines~\inlinerange[line:range].
\starttyping
line 1
line 2/BTEX\startline[line:range]/ETEX
line 3/BTEX\someline[line:single]/ETEX
line 4
line 5/BTEX\stopline[line:range]/ETEX
line 6
\stoptyping
\stoptext
Wolfgang
Thanks Wolgang, this looks pretty nice. Unfortunately I get
://wiki.contextgarden.net/Reference/en/startline
http://wiki.contextgarden.net/Reference/en/inlinerange
I hope that helps others.
Best wishes,
Stefan
___
If your question is of interest to others as well, please add
\startline[line:range]/ETEX
line 3/BTEX\someline[line:single]/ETEX
line 4
line 5/BTEX\stopline[line:range]/ETEX
line 6
\stoptyping
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry
Hi all,
how can I prevent the indent after a \startline[…]-construct. Here is an
example:
\setupindenting[medium,next,yes]
\def\NoIndent{\noindentation{\red\bf Indent?}\enspace}
\startbuffer
\dorecurse{3}{\dorecurse{10}{some text, } \par }
\stopbuffer
\starttext \showframe
\getbuffer
Am 16.12.2009 um 11:43 schrieb Andreas Harder:
Hi all,
how can I prevent the indent after a \startline[…]-construct. Here is an
example:
\setupindenting[medium,next,yes]
\def\NoIndent{\noindentation{\red\bf Indent?}\enspace}
\startbuffer
\dorecurse{3}{\dorecurse{10}{some text
Am 16.12.2009 um 18:40 schrieb Wolfgang Schuster:
Am 16.12.2009 um 11:43 schrieb Andreas Harder:
Hi all,
how can I prevent the indent after a \startline[…]-construct. Here is an
example:
\setupindenting[medium,next,yes]
\def\NoIndent{\noindentation{\red\bf Indent?}\enspace
Hello Hans.
With the current beta referencing lines is broken again. It used to
work yesterday.
Here is a test file and the error message:
\starttext
\startlinenumbering
\input tufte \someline[lin:b]
\startline[lin:a]
\input tufte
\stopline[lin:a]
\stoplinenumbering
\inline[lin:b
{\currentreferencedefault}% was
\currentreferencetext
\ifx\fline\tline#2\else#3\fi}
{\unknownreference{#1}#2}}
{\unknownreference{#1}#2}}
\def\startMyCite[#1]%
{\def\stopMyCite
{\setuplines[before=,after=]%
\startlines\startline[#1]\getbuffer[#1]\stopline[#1
or perceived
why they were important.
But a system \startline[range] cannot be successful if it is too
strongly influenced
by a single person. Once the initial design is complete and fairly
robust, the real test begins as people with many different \stopline
[range] viewpoints
undertake their own
\startline[reference] \stopline
\startlinecorrection \stoplinecorrection
\startlinenumbering[continue] \stoplinenumbering
\startlines \stoplines
\startlocal \stoplocal
\startlocalenvironment \stoplocalenvironment
\startlocalfootnotes \stoplocalfootnotes
# \startlocalsetups \stoplocalsetups
setup (m-bib has changed, ...)
I could try your code and...
*** it does exactly what I need ! ***
Thank you very much !
Just a question.
As you keep calling this environment \startline I suppose
it is intended to be a standard option for \startline
(which is a great news as I think it is quite
Maurice Diamantini wrote:
Le 26 déc. 04, à 21:57, h h extern a écrit :
Christmas present ...
Would it not be a better idea to provide another environnement name
to avoid conflict with the future standard startline environment?
I tried to rename startlines to startLines with other hack
25 matches
Mail list logo